package com.yuexun.dhdoctor.module.personalPlan.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by work-jx on 2016/9/13.
 */
public class MyShareBean implements Serializable{


    /**
     * status : 200
     * flag : SUCCESS
     * message : 操作成功
     * action : inquireSharedPersonInfo
     * version : v1.0
     * format : json
     * datas : [{"ownerName":"傅国强","scheduleScopeId":2531,"shareDate":"2016-09-13","sharerAccountId":2,"sharerName":"金春俭"},{"ownerName":"傅国强","scheduleScopeId":2532,"shareDate":"2016-09-13","sharerAccountId":4,"sharerName":"俞忠魁"}]
     */

    private String status;
    private String flag;
    private String message;
    private String action;
    private String version;
    private String format;
    /**
     * ownerName : 傅国强
     * scheduleScopeId : 2531
     * shareDate : 2016-09-13
     * sharerAccountId : 2
     * sharerName : 金春俭
     */

    private ArrayList<DatasEntity> datas;

    public void setStatus(String status) {
        this.status = status;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public void setDatas(ArrayList<DatasEntity> datas) {
        this.datas = datas;
    }

    public String getStatus() {
        return status;
    }

    public String getFlag() {
        return flag;
    }

    public String getMessage() {
        return message;
    }

    public String getAction() {
        return action;
    }

    public String getVersion() {
        return version;
    }

    public String getFormat() {
        return format;
    }

    public ArrayList<DatasEntity> getDatas() {
        return datas;
    }

    public static class DatasEntity implements Serializable{
        private String ownerName;
        private int scheduleScopeId;
        private String shareDate;
        private int sharerAccountId;
        private String sharerName;

        public void setOwnerName(String ownerName) {
            this.ownerName = ownerName;
        }

        public void setScheduleScopeId(int scheduleScopeId) {
            this.scheduleScopeId = scheduleScopeId;
        }

        public void setShareDate(String shareDate) {
            this.shareDate = shareDate;
        }

        public void setSharerAccountId(int sharerAccountId) {
            this.sharerAccountId = sharerAccountId;
        }

        public void setSharerName(String sharerName) {
            this.sharerName = sharerName;
        }

        public String getOwnerName() {
            return ownerName;
        }

        public int getScheduleScopeId() {
            return scheduleScopeId;
        }

        public String getShareDate() {
            return shareDate;
        }

        public int getSharerAccountId() {
            return sharerAccountId;
        }

        public String getSharerName() {
            return sharerName;
        }
    }
}
